class Solution:
    def reverseBits(self, n: int) -> int:
        n = bin(n)
        k = str(n)[:-2]
        k ='0'*(32-len(k))+k
        
        return int(k,2)
if __name__ == "__main__":
    s = Solution()
    s.reverseBits(00000010100101000001111010011100)